package com.example.pojo;/**
 * @author Daog
 * @create 2020 -11 -2020-11-02 16:30
 * @description 功能描述
 */

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @program: demo_boot
 *
 * @description:
 *
 * @author: Dong
 *
 * @create: 2020-11-02 16:30
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Car {

    private Integer id;
    private String name;
    private Float price;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    //@DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
    private Date createdate;

    private String phone;


}
